import {createBrowserRouter} from "react-router-dom";
import Home from "@/pages/Home";
import Detail from "@/pages/Detail/Detail.tsx";


const router = createBrowserRouter([

    {
        path: '/',
        element: <Home/>
    }, {
        path: 'Detail',
        element: <Detail/>
    }

])

export default router;

